<template>
    <section class="List-container wrapper">

        <el-row>
            <el-col :span="4" class="box tree-box">
                <p>ss</p>
                <p>ss</p>
                <p>ss</p>
                <p>ss</p>
                <p>ss</p>
                <p>ss</p>
            </el-col>
            <el-col :span="20" class="box">
                dsa
                <el-button size="small" type="primary" icon="edit" @click="addContent">编辑</el-button>
            </el-col>
        </el-row>

    </section>
</template>

<script>
    export default {
        name: 'List',
        data() {
            return {

            }
        },
        methods: {
            addContent() {
                this.$router.push({path: 'add', query: {'channelId': 123}})
            }
        }
    }
</script>

<!-- 局部样式 -->
<style rel="stylesheet/scss" lang="scss" scoped>
    .wrapper{
        border: 1px solid #e9eaec;
        background: #fff;
        border-radius: 4px;
        font-size: 14px;
        position: relative;
        transition: all .2s ease-in-out;
        .box{
            padding: 10px;
            &:first-child{
                border-right: 1px solid #d4dde2;
            }
        }
        .tree-box{
            min-width: 200px;
        }

    }

</style>